package com.tianwen.management.service;

import com.tianwen.management.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【permission】的数据库操作Service
* @createDate 2023-05-12 15:34:17
*/
public interface PermissionService extends IService<Permission> {

    List<Permission> page(Integer page, Integer pageSize, String name);

    boolean removeAndRoleAndUser(Long id);

    List<Permission> findByRoleId(Long roleId);
}
